package com.greateffect.littlebud.lib.provider;

import java.util.Random;

/**
 * Created by ZengCS on 2016/8/17.
 * E-mail:zengcs@vip.qq.com
 * Add:成都市天府软件园E3
 */
public class PicProvider {
    private static final String[] PICS = {
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942515&di=0b84ce3fba953b2be1b1dd6df4d16714&imgtype=0&src=http%3A%2F%2Fpic147.nipic.com%2Ffile%2F20171123%2F25756751_162259514000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942515&di=acf8236077d7dbde744becd15f74032f&imgtype=0&src=http%3A%2F%2Fimg1.juimg.com%2F180103%2F330862-1P103132K522.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942515&di=3161c1a229f12735f72aded3f78fde60&imgtype=0&src=http%3A%2F%2Fpic178.nipic.com%2Ffile%2F20180824%2F15097685_134002409000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942514&di=8ef4b550411ebd7edd0a66919004bef6&imgtype=0&src=http%3A%2F%2Fmpic.tiankong.com%2F58c%2F82d%2F58c82dcee4787be548b2496c484e9fd0%2F640.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942514&di=f40266f79f1810212eb72ac8f5fcb33d&imgtype=0&src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fimages%2F20170923%2F8eaf9c4654874b2dbc2154780b97c9df.jpeg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942514&di=811b8049a8740060e64d6ab326ee7e15&imgtype=0&src=http%3A%2F%2Fpic154.nipic.com%2Ffile%2F20180128%2F8903674_184857334000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942513&di=7fbc42f6fb8e1ce31e4d5914cbf7fa87&imgtype=0&src=http%3A%2F%2Fimg.sccnn.com%2Fbimg%2F337%2F45497.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942513&di=e2977000e0623253fce257222a0065b8&imgtype=0&src=http%3A%2F%2Fimg02.tooopen.com%2Fimages%2F20141231%2Fsy_78088764693.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942513&di=6543955cc94c176f777bb5c6b5f6a3f8&imgtype=0&src=http%3A%2F%2Fpic59.nipic.com%2Ffile%2F20150129%2F20209958_221302264000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942513&di=d4d1daa39f1a9169afb09e6b13dafa0f&imgtype=0&src=http%3A%2F%2Fhbimg.huabanimg.com%2F394e0eb0e1df5e9a40b3abab35aaba26dabf8e62129c2-MZAHED_fw658",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942512&di=2d226c823ca643919b0805431bc52850&imgtype=0&src=http%3A%2F%2Fimg1.juimg.com%2F170712%2F330700-1FG209531375.jpg",
            "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4202576603,2424098611&fm=26&gp=0.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942512&di=0eb25691d9225ffa636cd19255f0cdab&imgtype=0&src=http%3A%2F%2Fpic44.nipic.com%2F20140719%2F2531170_185542602000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942512&di=9a2f428d3ea8b36ae337e23d5bbf2084&imgtype=0&src=http%3A%2F%2Fpic175.nipic.com%2Ffile%2F20180803%2F3046502_154819806001_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942511&di=9d8bec53f5a0ceb94a2b034ab4599b22&imgtype=0&src=http%3A%2F%2Fpic155.nipic.com%2Ffile%2F20180131%2F13145352_115530983000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942510&di=399f1712043d7b9ccb7e2e3e72393642&imgtype=0&src=http%3A%2F%2Fimg.juimg.com%2Ftuku%2Fyulantu%2F120730%2F201871-120I022364877.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942511&di=0ce33f5ad5c2069a72daac97c538433c&imgtype=0&src=http%3A%2F%2Ffile03.16sucai.com%2F2016%2F10%2F1100%2F16sucai_v20161007105_1a6.JPG",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942509&di=f5a7fd8896cfe6760eb6fecf1f7f8fd7&imgtype=0&src=http%3A%2F%2Fpic117.nipic.com%2Ffile%2F20161210%2F13754257_103042809038_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942509&di=535f95ac4c5b68c9a701369b5a88b9ac&imgtype=0&src=http%3A%2F%2Fpic179.nipic.com%2Ffile%2F20180830%2F4670749_122245439084_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569348942508&di=ea3ea2f533d93b4693e48d59a2253183&imgtype=0&src=http%3A%2F%2Fpic122.nipic.com%2Ffile%2F20170216%2F8572479_161628781037_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061559&di=f4ce1e91f81a2b674f03075c08a059a2&imgtype=0&src=http%3A%2F%2Fpic176.nipic.com%2Ffile%2F20180809%2F27357898_220124170031_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061555&di=4812c455b6c6b354a4b7dac2a62b5694&imgtype=0&src=http%3A%2F%2Fpic13.nipic.com%2F20110424%2F2457331_233956152000_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061555&di=5ce10cdc6fa237ee5f02ad0f5a7f4be5&imgtype=0&src=http%3A%2F%2Fbpic.588ku.com%2Felement_origin_min_pic%2F17%2F12%2F20%2F0aade6b202f4b340e7177b895a534ec6.jpg%2521%2Ffwfh%2F804x804%2Fquality%2F90%2Funsharp%2Ftrue%2Fcompress%2Ftrue",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061554&di=bf6bbdc1f1d788a102861b4d621f7171&imgtype=0&src=http%3A%2F%2Ffile01.16sucai.com%2Fd%2Ffile%2F2013%2F0711%2F20130711042553253.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061553&di=ba7c19ed0738b02b297b2398d2cda15f&imgtype=0&src=http%3A%2F%2Fimg.mp.itc.cn%2Fupload%2F20161114%2F42328eed08734472860ff3a02c224f41_th.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061551&di=50ddc5a89e08076b57f59b4f588d1eb8&imgtype=0&src=http%3A%2F%2Fpic165.nipic.com%2Ffile%2F20180520%2F25059247_160428035080_2.jpg",
            "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1569349061551&di=bc14a28d1e3701a8febde25d1e4a42f8&imgtype=0&src=http%3A%2F%2Fpic27.nipic.com%2F20130222%2F4499633_205445289000_2.jpg",
    };
    private static Random random = new Random();
    private static int lastInt = -1;

    public static String get() {
        int i = random.nextInt(PICS.length);
        if (i == lastInt) {
            return get();
        }
        lastInt = i;
        return PICS[i];
    }
}
